<?php

class MM_Model_EventContent extends Mediad2_Model_Abstract
{
	/**
	 * const
	 */
	const STATUS_NO			= 0;	//无效
	const STATUS_YES		= 1;	//有效
	/**
	 * @var 草稿
	 */
	const STATUS_DRAFT 		= 0;	//草稿
	/**
	 * @var 发布中
	 */
	const STATUS_PUBLISH 	= 1;	//发布中
	/**
	 * @var 活动执行中
	 */
	const STATUS_ACTING 	= 2;	//活动执行中
	/**
	 * @var 活动暂停
	 */
	const STATUS_PAUSE 		= 3;	//活动暂停
	/**
	 * 
	 * @var 活动删除
	 */
	const STATUS_DEL 		= 4;	//活动删除
	/**
	 * 
	 * @var 活动结束
	 */
	const STATUS_FINISH		= 5;	//活动结束
	
	/**
	 * var
	 */
	protected $ecid;
	protected $ectype; //定义内容的类型
	protected $eid;
	protected $esid;
	protected $title;
	protected $content;
	protected $url;
	protected $num;
	protected $status;
	protected $uid;
	protected $addtime;
	protected $attachment;
	protected $canuse;
	protected $fid;
	protected $filepath;

	
	
	/**
	 * @return the $filepath
	 */
	public function getFilepath() {
		return $this->filepath;
	}

	/**
	 * @param field_type $filepath
	 */
	public function setFilepath($filepath) {
		$this->filepath = $filepath;
	}

	/**
	 * @return the $fid
	 */
	public function getFid() {
		return $this->fid;
	}

	/**
	 * @param field_type $fid
	 */
	public function setFid($fid) {
		$this->fid = $fid;
	}

	/**
	 * @return the $attachment
	 */
	public function getAttachment() {
		return $this->attachment;
	}

	/**
	 * @return the $canuse
	 */
	public function getCanuse() {
		return $this->canuse;
	}

	/**
	 * @param field_type $attachment
	 */
	public function setAttachment($attachment) {
		$this->attachment = $attachment;
	}

	/**
	 * @param field_type $canuse
	 */
	public function setCanuse($canuse) {
		$this->canuse = $canuse;
	}

	/**
     * @return the $num
     */
    public function getNum ()
    {
        return $this->num;
    }

	/**
     * @param field_type $num
     */
    public function setNum ($num)
    {
        $this->num = $num;
    }

	/**
     * @return the $ecid
     */
    public function getEcid ()
    {
        return $this->ecid;
    }

	/**
     * @return the $ectype
     */
    public function getEctype ()
    {
        return $this->ectype;
    }

	/**
     * @return the $eid
     */
    public function getEid ()
    {
        return $this->eid;
    }

	/**
     * @return the $esid
     */
    public function getEsid ()
    {
        return $this->esid;
    }

	/**
     * @return the $title
     */
    public function getTitle ()
    {
        return $this->title;
    }

	/**
     * @return the $content
     */
    public function getContent ()
    {
        return $this->content;
    }

	/**
     * @return the $url
     */
    public function getUrl ()
    {
        return $this->url;
    }

	/**
     * @return the $status
     */
    public function getStatus ()
    {
        return $this->status;
    }

	/**
     * @return the $uid
     */
    public function getUid ()
    {
        return $this->uid;
    }

	/**
     * @return the $addtime
     */
    public function getAddtime ()
    {
        return $this->addtime;
    }

	/**
     * @param field_type $ecid
     */
    public function setEcid ($ecid)
    {
        $this->ecid = $ecid;
    }

	/**
     * @param field_type $ectype
     */
    public function setEctype ($ectype)
    {
        $this->ectype = $ectype;
    }

	/**
     * @param field_type $eid
     */
    public function setEid ($eid)
    {
        $this->eid = $eid;
    }

	/**
     * @param field_type $esid
     */
    public function setEsid ($esid)
    {
        $this->esid = $esid;
    }

	/**
     * @param field_type $title
     */
    public function setTitle ($title)
    {
        $this->title = $title;
    }

	/**
     * @param field_type $content
     */
    public function setContent ($content)
    {
        $this->content = $content;
    }

	/**
     * @param field_type $url
     */
    public function setUrl ($url)
    {
        $this->url = $url;
    }

	/**
     * @param field_type $status
     */
    public function setStatus ($status)
    {
        $this->status = $status;
    }

	/**
     * @param field_type $uid
     */
    public function setUid ($uid)
    {
        $this->uid = $uid;
    }

	/**
     * @param field_type $addtime
     */
    public function setAddtime ($addtime)
    {
        $this->addtime = $addtime;
    }

	

}